package com.weiweiqin.service.impl;

import com.weiweiqin.dao.UserVcardDao;
import com.weiweiqin.model.UserVcard;
import com.weiweiqin.service.UserVcardService;

public class UserVcardServiceImpl implements UserVcardService {

	private UserVcardDao userVcardDao;

	public void save(UserVcard userVecard) {
		userVcardDao.insert(userVecard);
	}

	public UserVcardDao getUserVcardDao() {
		return userVcardDao;
	}

	public void setUserVcardDao(UserVcardDao userVcardDao) {
		this.userVcardDao = userVcardDao;
	}

	public void update(UserVcard userVcard) {
		userVcardDao.update(userVcard);
		
	}

	public UserVcard get(String username) {
		return userVcardDao.get(username);
	}

	public void delete(String username) {
		userVcardDao.delete(username);
	}

	
}